/*
	The mapping for each property of User will correspond to a property sent back
	from ColdFusion via JSON return.  This is the all-important glue that makes this
	object function within the Ext components.
 */
User = Ext.data.Record.create
	(
		[
			{name: 'id', type: 'int', mapping:'ID'}
			,{name: 'username', type: 'string', mapping:'USERNAME'}
			,{name: 'password', type: 'string', defaultValue: '********'}
			,{name: 'isAuthenticated', type: 'boolean', mapping:'ISAUTHENTICATED'}
			// And now the Person class properties, which are being cross polinated
		]
	);